<template>
  <div id="SourceIcon">
    <!-- 京东=0,淘宝=1,小店=2,天猫=3,苏宁=4,考拉=5 -->
    <!-- img：01小店 03京东 04考拉 05拼多多 07淘宝 08天猫 09苏宁 10网易严选 11唯品会 12洋码头-->
    <img src="@/assets/meng/left03.png" v-if="sourceid == 0" />
    <img src="@/assets/meng/left07.png" v-if="sourceid == 1" />
    <img src="@/assets/meng/left01.png" v-if="sourceid == 2" />
    <img src="@/assets/meng/left08.png" v-if="sourceid == 3" />
    <img src="@/assets/meng/left09.png" v-if="sourceid == 4" />
    <img src="@/assets/meng/left04.png" v-if="sourceid == 5" />
  </div>
</template>

<script>
export default {
  name: "SourceIcon",
  props: {
    sourceid: Number | String,
  },
  data() {
    return {};
  },
  computed: {},
  watch: {},
  created() {},
  mounted() {},

  methods: {},
};
</script>
<style lang='less' scoped>
//@import url();
#SourceIcon {
  display: flex;
  img {
    display: block;
    width: 16px;
    height: 16px;
    justify-content: center;
    align-items: center;
    margin-right: 5px;
  }
}
</style>